package com.rk.admin;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.oas.annotations.EnableOpenApi;

@MapperScan("com.rk.admin.mapper")
@EnableTransactionManagement  //启用事务管理器，管理事务
@EnableOpenApi//启用swaggerAPI
@SpringBootApplication
@EnableScheduling//开启异步调用
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
